<html>
  <head>
  </head>
  <body>
    <form action="javascript:void(0)" method="post" id="testForm">
        姓名：<input type="text" name="uname" />
        <p>
        擅长技术：
        <input type="checkbox" name="tech[]" value="J2EE" />J2EE
        <input type="checkbox" name="tech[]" value=".NET" />.NET
        <input type="checkbox" name="tech[]" value="ASP" />ASP
        <input type="checkbox" name="tech[]" value="PHP" />PHP
        <p>
        <input type="submit" value="提交" />
    </form>
    <script src="../admin/layui/jquery.js"></script>
    <script>
        $("#testForm").on("submit",function(){
            var data = $(this).serializeArray();
            console.log(data);
            $.post("1.php",data,function(bak){
                console.log(bak);
            })
            return false;
        });
    </script>
  </body>
</html>